package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.ShowFragmentContract;
import com.zjc.yohoshop.mvp.model.ShowFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ShowFragmentModules {
    private ShowFragmentContract.ShowFragmentIView iView;

    public ShowFragmentModules(ShowFragmentContract.ShowFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public ShowFragmentContract.ShowFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public ShowFragmentContract.ShowFragmentIModel providerIModel(){
        return new ShowFragmentModel();
    }
}
